package com.sunflower.bath.service;


import java.util.List;

import org.framework.mybatis.Criteria;

import com.sunflower.bath.model.JobNeedExecut;


public interface IJobNeedExecutService{

/**
* 查询集合 
* @param param
* @return
*/
List<JobNeedExecut> queryPage(Criteria<JobNeedExecut> param);

/**
* 查询集合总记录数 
* @param param
* @return
*/
Integer queryPageCount(Criteria<JobNeedExecut> param);

/**
* 查询实体 
* @param id
* @return
*/
JobNeedExecut queryEntityById(String jobExecutionId);

/**
* 新增实体 
* @param record
* @return
*/
String insert(JobNeedExecut record);

/**
* 更新实体 
* @param param
* @return
*/
String updateByCriteria(Criteria<JobNeedExecut> param);

/**
* 删除实体 
* @param id
* @return
*/
String deleteById(String jobExecutionId);

/**
* 删除实体 
* @param id
* @return
*/
String deleteByCriteria(Criteria<JobNeedExecut> param);
/**
 * 查询需要执行的Job
 * @param param:jobThreadId(线程Id)
 * @return
 */
List<JobNeedExecut> queryJobNeedExecut(Criteria<JobNeedExecut> param);


}
